package com.ruoyi.web.controller.mail;

import cn.hutool.core.io.FileUtil;
import cn.hutool.extra.mail.MailUtil;

public class QQMailDemo {
    public static void main(String[] args) {
        MailUtil.send("xwd2025@126.com", "测试", "<h1>邮件来自Hutool测试</h1>", true, FileUtil.file("D:\\HuaweiMoveData\\Users\\64425\\Desktop\\aaa.xml"));
    }
}
